package com.demoworld;

import java.util.List;

/**
 * Created by li_wb on 2018/1/24.
 */
public class Entity {

    /**
     * host : http://api.example.com/
     * ip :
     * port :
     * mock : [{"pathname":"/test","tpl":"test.mock","statusCode":200,"delay":5000},{"pathname":"/test/deep/path","tpl":"test2.mock"},{"pathname":"/rest/path/{arg1}/{arg2}-{arg3}","tpl":"rest.mock"},{"pathname":"/rest/{method}/{arg1}/{arg2}-{arg3}","apiKey":"method=list","tpl":"rest.list.mock"},{"pathname":"/rest","apiKey":"method=list","tpl":"rest.method.list.mock"}]
     */

    private String host;
    private String ip;
    private String port;
    private List<MockBean> mock;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public List<MockBean> getMock() {
        return mock;
    }

    public void setMock(List<MockBean> mock) {
        this.mock = mock;
    }
}
